<input type="file" accept="{{$ctrl.accept}}" name="{{$ctrl.formName}}" ngf-select="$ctrl.selectFile($file, $invalidFiles)" class="custom-file-input"> <label class="custom-file-label">Choose file</label>